package org.dnd.rcp.securetexteditor.password;

import org.eclipse.jface.dialogs.IInputValidator;
import org.eclipse.jface.dialogs.InputDialog;
import org.eclipse.swt.widgets.*;
	
public class PasswordDialog extends InputDialog {

	public PasswordDialog(Shell parentShell, String dialogTitle,
			String dialogMessage, String initialValue, IInputValidator validator) {
		super(parentShell, dialogTitle, dialogMessage, initialValue, validator);
	}

	@Override
	protected Control createDialogArea(Composite parent) {
		Control c = super.createDialogArea(parent);
		getText().setEchoChar("\u25cf".charAt(0));
		return c;
	}

}
